Testing Cross-Platform Mobile App Development Frameworks

نویسندگان

  • Nader Boushehrinejadmoradi
  • Vinod Ganapathy
  • Santosh Nagarakatte
  • Liviu Iftode
چکیده

Mobile app developers often wish to make their apps available on a wide variety of platforms, e.g., Android, iOS, and Windows devices. Each of these platforms uses a different programming environment, each with its own language and APIs for app development. Small app development teams lack the resources and the expertise to build and maintain separate code bases of the app customized for each platform. As a result, we are beginning to see a number of cross-platform mobile app development frameworks. These frameworks allow the app developers to specify the business logic of the app once, using the language and APIs of a home platform (e.g., Windows Phone), and automatically produce versions of the app for multiple target platforms (e.g., iOS and Android). In this paper, we focus on the problem of testing crossplatform app development frameworks. Such frameworks are challenging to develop because they must correctly translate the home platform API to the (possibly disparate) target platform API while providing the same behavior. We develop a differential testing methodology to identify inconsistencies in the way that these frameworks handle the APIs of the home and target platforms. We have built a prototype testing tool, called X-Checker, and have applied it to test Xamarin, a popular framework that allows Windows Phone apps to be cross-compiled into native Android (and iOS) apps. To date, X-Checker has found 47 bugs in Xamarin, corresponding to inconsistencies in the way that Xamarin translates between the semantics of the Windows Phone and the Android APIs. We have reported these bugs to the Xamarin developers, who have already committed patches for twelve of them.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Trends in Web Based Cross Platform Technologies

Cross platform mobile application development using web technologies has traveled a long way since its inception back in 2008-2009 [1]. Frameworks such as Apache Cordova/Phonegap [2] or Appcelerator [3] enabled web developers to reuse their exiting development skills to build applications for a wide variety of mobile platforms and opened up app development to a massive community. Since then man...

متن کامل

Evaluation of Cross-Platform Frameworks for Mobile Applications

With today’s ubiquity of smartphones, tablets and other mobile devices, more and more businesses develop and use mobile applications. Multiple platforms including Android and iOS form the market of mobile devices, so it can be important to be able to deliver software for more than one platform. Vendor-supported SDKs are feature-rich but incompatible with other platforms. We compared a number of...

متن کامل

Cross-platform Mobile Malware: Write Once, Run Everywhere

Every day, thousands of new mobile apps are published on mobile app stores including Google Play and iOS App Store. While many of them are native apps, others are cross-platform mobile apps or HTML-based hybrid apps developed using various cross-platform mobile development tools. Native apps for Android and iOS are usually written using Android SDK and XCode tools respectively, but malware auth...

متن کامل

Resemblance of PhoneGap and Titanium for Mobile Application Development

MAD (Mobile Application Development) is becoming more demanding because of their varied platform and software development tools. To reduce the cost and in order to reach the application to maximum users across various platforms, the developers are emigrating towards the cross platform application development tools. In this paper, we provide distinct benchmark beyond the portability for choosing...

متن کامل

Evaluating Impact of Cross-platform Frameworks in Energy Consumption of Mobile Applications

In this paper we analyze energy consumption of mobile applications using different smartphones sensors, e.g., GPS, accelerometer, etc., and features, e.g., acquiring video or audio from the environment. In particular, we have studied how the use of frameworks for mobile cross-platform development may influence the amount of required energy for the same operation. We use an hardware and software...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015